package xd.ylwy.prescore.controller;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import xd.ylwy.prescore.entity.PredictScore;
import xd.ylwy.prescore.mapper.TbPredictScoreMapper;
import xd.ylwy.prescore.service.impl.TbPredictScoreServiceImpl;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author xd
 * @since 2022-09-23
 */
@Controller
@RequestMapping("/tbPredictScore")
public class TbPredictScoreController {
    @Autowired
    TbPredictScoreServiceImpl tbPredictScoreService;


    @RequestMapping("/predictScore")
    @ResponseBody
    public List<PredictScore> predictScore (@RequestParam String id){
        return tbPredictScoreService.predictScore(id);
    }

}

